<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:82:"D:\PHP\WWW\workspace\2018\tp5\public/../application/index\view\shop\showGoods.html";i:1520333045;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1px">
    <tr><th>商品id</th><th>商品名字</th><th>商品价格</th></tr>
    <?php if(is_array($data) || $data instanceof \think\Collection || $data instanceof \think\Paginator): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
    <tr><td><?php echo $vo['id']; ?></td><td><?php echo $vo['name']; ?></td><td><?php echo $vo['price']; ?></td></tr>
    <?php endforeach; endif; else: echo "" ;endif; ?>

</table>
</body>
</html>